package com.wenjiang.common.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;

@Data
public class OrderInfoVo implements Serializable {

  //雪花算法生成的id 会丢失精度 把他变成string类型 给前端显示
  @JsonFormat(shape = JsonFormat.Shape.STRING)
  private Long orderId;
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  private LocalDateTime createTime;

  private String userName;

  private String userAddress;

  private String userPhone;

  private Long total;


  private int payType;



  private  int status;


  List<OrderGoodInfo> goodInfos;




}

